package com.miaoji.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.miaoji.domain.po.ComboDetail;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ComboDetailMapper extends BaseMapper<ComboDetail> {
    @Select("select * from combo_detail where combo_id=#{comboId}")
    public List<ComboDetail> comboDetailSelect(int comboId);

    @Delete("delete from combo_detail where combo_id=#{comboId}")
    public void comboDetailDelete(int comboId);
}
